import request from '@/utils/request'

// 大屏左上：房屋排查
export const getHouseInvestigation = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseSafe/query/houseInvestigation',
    params: params,
  })
}

// 大屏左下：危房排行数据
export const getHouseRanking = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseSafe/query/houseRanking',
    params: params,
  })
}


// 大屏右上：危房房屋类型
export const getHouseType = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseSafe/query/houseType',
    params: params,
  })
}

// 大屏右下：房屋年限分析
export const getHouseYearRanking = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseSafe/query/houseYearRanking',
    params: params,
  })
}
